<template>
  <div class="container">
    <div class="ban">
      <ul>
        <li class="qmGroup">
          <span class="five1-1" alt="找保姆哪个平台好"></span>
          <p>10+品质</p>
        </li>
        <li class="qmGroup">
          <span class="five1-2" alt="在什么平台找保姆比较靠谱"></span>
          <p>百分百满意度</p>
        </li>
        <li class="qmGroup">
          <span class="five1-3" alt="哪个地区的保姆比较好"></span>
          <p>百名专业人士</p>
        </li>
        <li class="qmGroup">
          <span class="five1-4" alt="家政服务哪个平台比较好"></span>
          <p>千例成功案例</p>
        </li>
      </ul>
    </div>
    <section class="section1">
      <div class="title2">顾客见证</div>
      <h4 style="margin-bottom: 10px">六大保障，安心放心</h4>
      <div class="block">
        <el-carousel
          trigger="click"
          height="378px"
          indicator-position="none"
        >
          <el-carousel-item v-for="(item, i) in imgdata" :key="i">
            <div class="content">
              <div class="item">
                <div class="pic">
                  <img :src="item.img[0]" alt="" width="290px" />
                </div>
                <div class="title">
                  {{ item.title[0] }}
                </div>
                <div class="words">
                  {{ item.tip[0] }}
                </div>
                <div class="ft">查看更多</div>
              </div>
              <div class="item">
                <div class="pic">
                  <img :src="item.img[1]" alt="" width="290px" />
                </div>
                <div class="title">
                  {{ item.title[1] }}
                </div>
                <div class="words">
                  {{ item.tip[1] }}
                </div>
                <div class="ft">查看更多</div>
              </div>
              <div class="item">
                <div class="pic">
                  <img :src="item.img[2]" alt="" width="290px" />
                </div>
                <div class="title">
                  {{ item.title[2] }}
                </div>
                <div class="words">
                  {{ item.tip[2] }}
                </div>
                <div class="ft">查看更多</div>
              </div>
            </div>
          </el-carousel-item>
        </el-carousel>
      </div>
    </section>
    <section class="section2">
      <div class="wrap">
        <div class="item">
          <div class="phead">
            <h3>Maternal<i>/</i>母婴知识</h3>
          </div>
          <div class="pic">
            <img
              src="http://res0.chenxin99.com/images/baomu/ac7f5f1d-fe7c-4c3d-a3c0-729ed1fe6b32.jpg"
              alt=""
            />
          </div>
          <ul class="list">
            <li>
              <a title="上海月嫂网提供的防治婴幼儿便秘方法"
                >上海月嫂网提供的防治婴幼儿便秘方法</a
              >
            </li>
            <li>
              <a title="金牌育儿嫂通过外敷穴位治小儿哮喘"
                >金牌育儿嫂通过外敷穴位治小儿哮喘</a
              >
            </li>
            <li>
              <a title="爸爸对宝宝的抚摸少不了">爸爸对宝宝的抚摸少不了</a>
            </li>
            <li>
              <a title="网上育儿经教你辨真假，上海育儿嫂公司透漏"
                >网上育儿经教你辨真假，上海育儿嫂公司透漏</a
              >
            </li>
            <li>
              <a title="新生儿头发稀少正常吗？老月嫂来解答"
                >新生儿头发稀少正常吗？老月嫂来解答</a
              >
            </li>
            <li>
              <a title="新生儿臀红不要使用婴儿粉">新生儿臀红不要使用婴儿粉</a>
            </li>
            <li>
              <a title="上海高级月嫂分享：新生儿的卫生护理"
                >上海高级月嫂分享：新生儿的卫生护理</a
              >
            </li>
            <li>
              <a title="育儿小心营养补充之误区">育儿小心营养补充之误区</a>
            </li>
          </ul>
        </div>
        <div class="item">
          <div class="phead">
            <h3>Health <i>/</i>健康护理</h3>
          </div>
          <div class="pic">
            <img
              src="http://res0.chenxin99.com/images/baomu/7fd9c7bf-67a6-40d4-8072-cffcc90b7cdd.jpg"
              alt=""
            />
          </div>
          <ul class="list">
            <li>
              <a title="上海照顾老人保姆，揉耳养生事半功倍"
                >上海照顾老人保姆，揉耳养生事半功倍</a
              >
            </li>
            <li>
              <a
                title="空巢，独居，高龄老人应该怎么办？是自己亲自照顾还是请保姆？"
                >空巢，独居，高龄老人应该怎么办？是自己亲自照顾还是请保姆？</a
              >
            </li>
            <li>
              <a title="照顾老人保姆推荐老年痴呆症的治疗"
                >照顾老人保姆推荐老年痴呆症的治疗</a
              >
            </li>
            <li>
              <a title="虚拟养老院关爱空巢老人,独居高龄老人"
                >虚拟养老院关爱空巢老人,独居高龄老人</a
              >
            </li>
            <li>
              <a title="她做了16年保姆，专门照顾老人：很享受与老人相处的快乐"
                >她做了16年保姆，专门照顾老人：很享受与老人相处的快乐</a
              >
            </li>
            <li>
              <a title="照顾独居老年人抑郁症的表现"
                >照顾独居老年人抑郁症的表现</a
              >
            </li>
            <li>
              <a title="老年人抑郁症的家庭护理方法"
                >老年人抑郁症的家庭护理方法</a
              >
            </li>
            <li>
              <a title="居家养老冠心病人如何过度夏"
                >居家养老冠心病人如何过度夏</a
              >
            </li>
          </ul>
        </div>
        <div class="item">
          <div class="phead">
            <h3>news<i>/</i>生活百科</h3>
          </div>
          <div class="pic">
            <img
              src="http://res0.chenxin99.com/images/baomu/8859ef79-c88c-4f67-8335-e870bec26646.jpg"
              alt=""
            />
          </div>
          <ul class="list">
            <li>
              <a title="办公楼开荒保洁">办公楼开荒保洁</a>
            </li>
            <li>
              <a title="✅ 上海高端家政公司排名，十大金牌公司"
                >✅ 上海高端家政公司排名，十大金牌公司</a
              >
            </li>
            <li>
              <a title="一般家政公司收取保姆服务费用的标准是多少"
                >一般家政公司收取保姆服务费用的标准是多少</a
              >
            </li>
            <li>
              <a title="上海烧饭阿姨多少钱一个月，是钟点工吗？"
                >上海烧饭阿姨多少钱一个月，是钟点工吗？</a
              >
            </li>
            <li>
              <a title="2020家政保洁服务项目价格表"
                >2020家政保洁服务项目价格表</a
              >
            </li>
            <li>
              <a title="本人急招一名钟点工">本人急招一名钟点工</a>
            </li>
            <li>
              <a title="育儿嫂必须会哪些技能">育儿嫂必须会哪些技能</a>
            </li>
            <li>
              <a title="育儿嫂经验：如何锻炼宝宝的手部精细动作"
                >育儿嫂经验：如何锻炼宝宝的手部精细动作</a
              >
            </li>
          </ul>
        </div>
      </div>
    </section>
  </div>
</template>

<script>
export default {
  data() {
    return {
      imgdata: [
        {
          title: ["感谢冷月嫂", "感谢程月嫂", "感谢王月嫂"],
          img: [
            "http://res0.chenxin99.com/images/baomu/72105ccc-04b0-4c1d-826f-f091115d30ca.jpg",
            "http://res0.chenxin99.com/images/baomu/92825f5e-3cee-41ab-a9b8-844717ba7ffa.jpg",
            "http://res0.chenxin99.com/images/baomu/fbcc86aa-0b23-48f0-9f65-53b78faa2c99.jpg",
          ],
          tip: [
            "附近的住家保姆公司找了好几个，主要是找保姆照顾老人，上海住家保姆的价格就属晨心性价比最高...",
            "找保姆带小孩的注意事项还是蛮多的，比如雇保姆合同、照顾小孩保姆工资标准、保姆服务明细都需要详细明确...",
            "吖吖老师给我报的保姆工作内容很详细，带孩子保姆多少钱更是咨询了全上海的保姆公司才确定下来...",
          ],
        },
        {
          title: ["感谢冷月嫂", "感谢程月嫂", "感谢王月嫂"],
          img: [
            "http://res0.chenxin99.com/images/baomu/84e14303-1287-4e8a-ae12-a762009e1568.jpg",
            "http://res0.chenxin99.com/images/baomu/d9c844dd-876f-4a83-a4b0-41454e1c73d6.jpg",
            "http://res0.chenxin99.com/images/baomu/fbcc86aa-0b23-48f0-9f65-53b78faa2c99.jpg",
          ],
          tip: [
            "保姆找工作哪个网站最靠谱，上海保姆网看到非常多每天最新的保姆招聘信息，抱着试一试联系了吖吖老师...",
            "找保姆照顾老人还是很重要的，爷爷90岁了算高龄半自理，附近照顾老人保姆公司不多，网上联系了晨心...",
            "刚出院时老公照顾月子、照顾新生儿确实不专业，月子保姆的工作内容才是这些，后来还是在晨心请月嫂了...",
          ],
        },
        {
          title: ["感谢冷月嫂", "感谢程月嫂", "感谢王月嫂"],
          img: [
            "http://res0.chenxin99.com/images/baomu/72105ccc-04b0-4c1d-826f-f091115d30ca.jpg",
            "http://res0.chenxin99.com/images/baomu/92825f5e-3cee-41ab-a9b8-844717ba7ffa.jpg",
            "http://res0.chenxin99.com/images/baomu/fbcc86aa-0b23-48f0-9f65-53b78faa2c99.jpg",
          ],
          tip: [
            "小月子保姆找的田阿姨，两年后上海哪里找月嫂，居然在晨心有找的田阿姨，真是巧合了，月嫂工资给我9折...",
            "接送小孩上下学需要认证筛选阿姨，高阿姨保姆工作内容有条理，做事很稳重，开车8年小孩交给她我放心...",
            "首先非常感谢上海好的保姆中介晨心给予我们的帮助，培育了很多优秀负责的月嫂，尤其是所派来的刘玉梅阿姨，刘阿姨经...",
          ],
        },
      ],
    };
  },
};
</script>

<style scoped>
* {
  padding: 0;
  margin: 0;
}
.ban {
  margin-top: 15px;
  background-color: #f9fafb;
  padding: 20px 0;
}
.ban ul {
  width: 90%;
  margin: 0 auto;
  display: flex;
}
.ban .qmGroup {
  width: 25%;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.qmGroup .five1-1 {
  display: inline-block;
  background: url(http://res.chenxin99.com/images/baomu/baomu-merge.png)
    no-repeat 0 -40px;
  height: 102px;
  width: 104px;
  margin: 0 auto;
}
.qmGroup .five1-2 {
  display: inline-block;
  background: url(http://res.chenxin99.com/images/baomu/baomu-merge.png)
    no-repeat 0 -142px;
  height: 102px;
  width: 104px;
  margin: 0 auto;
}
.qmGroup .five1-3 {
  display: inline-block;
  background: url(http://res.chenxin99.com/images/baomu/baomu-merge.png)
    no-repeat 0 -244px;
  height: 102px;
  width: 104px;
  margin: 0 auto;
}
.qmGroup .five1-4 {
  display: inline-block;
  background: url(http://res.chenxin99.com/images/baomu/baomu-merge.png)
    no-repeat 0 -346px;
  height: 102px;
  width: 104px;
  margin: 0 auto;
}
.qmGroup p {
  text-align: center;
  font-size: 20px;
  font-weight: 300;
  color: #221815;
  margin-top: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.section1 {
  text-align: center;
  background: url(http://res.chenxin99.com/images/baomu/bk_2.jpg) no-repeat 0 0;
  width: 100%;
  margin: 0 auto;
  height: 524px;
  position: relative;
  z-index: 1;
}
.section1 .title2 {
  padding: 40px 0 10px 0;
  font-size: 20px;
  font-weight: bold;
}
.block {
  margin: 0 auto;
  width: 1114px;
}
.content {
  display: flex;
  width: 90%;
  margin: 0 auto;
  justify-content: space-between;
}
.content .item {
  box-sizing: border-box;
  width: 32%;
  padding: 10px;
  background: #fff;
}
.content .item .title {
  text-align: left;
  font-size: 18px;
  color: #333;
  margin: 22px 0 10px;
  padding: 0 10px;
}
.content .item .words {
  font-size: 15px;
  line-height: 22px;
  padding: 0 5px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #666;
  overflow: hidden;
}
.content .item .ft {
  cursor: pointer;
  width: 100px;
  border: 1px solid #f7f7f7;
  color: #c9c9c9;
  line-height: 34px;
  text-align: left;
  margin: 10px 0 30px 10px;
}
.content .item .ft:hover,.content .item .words:hover {
  cursor: pointer;
  color: #337ab7;
}
.list li a {
  position: relative;
  display: block;
  padding-left: 15px;
  font-size: 15px;
  line-height: 38px;
  color: #666;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.list li a::after {
  content: "+";
  position: absolute;
  left: 0;
}
.list li a:hover {
  cursor: pointer;
  color: #337ab7;
}
.phead {
  border-bottom: 1px solid #d7d7d7;
  line-height: 60px;
  display: inline-block;
  position: relative;
  padding-top: 30px;
  margin-bottom: 5px;
  width: 95%;
}
.phead::after {
  content: "";
  position: absolute;
  bottom: -2px;
  height: 3px;
  width: 50px;
  background: #ff93bb;
  left: 0;
}
.item h3 {
  display: inline-block;
  padding: 0;
  margin: 0;
  color: #000;
  line-height: 60px;
}
.item h3 i {
  font-size: 18px;
  font-style: normal;
  font-family: PingFangSC-Light, "Microsoft YaHei", sans-serif;
  color: #999;
  margin: 0 4px;
}
.wrap {
  display: flex;
  justify-content: space-between;
  width: 1390px;
  margin: 0 auto;
}
.wrap .item {
  width: 33%;
}
</style>